package com.ruoyi.system.dto;

import com.ruoyi.common.core.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class UserSetRateDto extends BaseDto {
    @ApiModelProperty(value = "商品id")
    @NotNull(message = "userid")
    private Long userId;
    @ApiModelProperty(value = "数字人民币点位")
    @DecimalMin(value = "0.01", message = "不能小于0.01")
    private BigDecimal szRmbRate;
    @ApiModelProperty(value = "支付宝转账")
    @DecimalMin(value = "0.01", message = "不能小于0.01")
    private BigDecimal zfbRate;

    @ApiModelProperty(value = "支付宝uid转账")
    @DecimalMin(value = "0.01", message = "不能小于0.01")
    private BigDecimal zfbUidRate;

//    @ApiModelProperty(value = "支付宝小荷包")
//    @DecimalMin(value = "0.01", message = "不能小于0.01")
//    private BigDecimal zfbXhbRate;

    @ApiModelProperty(value = "淘宝/咸鱼")
    @DecimalMin(value = "0.01", message = "不能小于0.01")
    private BigDecimal tbRate;

    @ApiModelProperty(value = "转账码")
    @DecimalMin(value = "0.01", message = "不能小于0.01")
    private BigDecimal zzmRate;

    @ApiModelProperty(value = "小额UID")
    @DecimalMin(value = "0.01", message = "不能小于0.01")
    private BigDecimal smUidRate;

}
